using System.Data;
using System;
using Library.Business;
namespace Library.Controller
{
    public partial class Controller_ThongTinGia_ChiTiet: Cls_ThongTinGia_ChiTiet
    {
        public static Cls_ThongTinGia_ChiTiet lay_ThongTinGia_ChiTiet(string heThong, string loaiHinh, int thang, int nam)
        {
            try
            {
                DataTable dt = Get_Procerure.AUC_st_LayThongTinGia(heThong, loaiHinh, thang, nam);
                Cls_ThongTinGia_ChiTiet obj = Cls_ThongTinGia_ChiTiet.converDataRow_To_Object(dt.Rows[0]);
                return obj;
            }
            catch (Exception ex) { throw ex; }
        }
    }
}
